<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> 

    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="e" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<head>
 
<title>Tambah Obat</title>
 <style type="text/css">
            @import url("layout.css");
            @import url("forms.css");
			 @import url("style.css");
            @import url("superfish.css");
			 @import url("style_nivo.css");
                         @import url("datepicker.css");
        </style>	
		
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/hoverIntent.js"></script>
<script type="text/javascript" src="./js/superfish.js"></script>
<script type="text/javascript" src="./js/placeholder.js"></script>
<script type="text/javascript" src="./js/jquery.nivo.slider.pack.js"></script>
<script language="javascript" type="text/javascript" src="datetimepicker.js"></script>
<script type="text/javascript">
// Slider stuff
$(window).load(function() {
    $('#slider').nivoSlider({
        effect:'slideInLeft', // Specify sets like: 'fold,fade,sliceDown'
        animSpeed:300, // Slide transition speed
        pauseTime:6000, // How long each slide will show
        directionNav:true, // Next & Prev navigation
        keyboardNav:true, // Use left & right arrows
        pauseOnHover:true // Stop animation while hovering
    });
});
</script>
<script type="text/javascript">
// Initialise menu plugin
jQuery(function(){
	jQuery('ul.sf-menu').superfish();
});
</script>
       
<meta charset="UTF-8"></head>

<body>

<div id="container">

		<!--Header begins-->
		<div id="headerContainer">
			
				<a class="logo" href="./index.html" title="Health Care Theme">Health Care Theme</a>
		
				<!--Personal File begins-->
				<div id="filenrContainer">
						<img src="./images/icon_file.png" alt="Personal File" title="Personal File" />
						<h4>Cari Obat</h4>
						<span>cari obat berdasarkan sakit Anda</span>
						<div class="clear"></div>
						<form action="">
								<input type="text" placeholder="Cari Obat Anda">
								<input type="submit" value="" name="submit-search"> 
						</form>
				</div>
				<!--Personal File ends-->
				
				<div class="clear"></div>
	
		</div>
		<!--Header ends-->
		
		<div id="contentContainer">
				
					<!--Menu begins-->
					<div id="menubarborder">
					<div id="menubar">
					
							<ul class="sf-menu">
									
        <li><a href="account?page=loggedin">Home</a></li>
          <li><a href="account?page=profile">Profile</a></li>
                    <li class="current"><a href="obat?page=list">Daftar Obat</a></li>
                    <li><a href="order?page=list">Order</a></li>
                    <li><a href="#">Help &amp; Support</a></li>

          <li><a href="#">Penyakit</a>
            <ul>
              <li><a href="#">Sakit kepala</a></li>
              <li><a href="#">Sakit kulit</a></li>
              <li><a href="#">Sakit dalam</a>
                <ul>
                  <li><a href="#">Sakit dalam</a></li>
                  <li><a href="#">Sakit dalam</a></li>
                  <li><a href="#">Sakit dalam</a></li>
                </ul>
              </li>
            </ul>
          </li>

          <li><a href="./contact.html">Contact us</a></li>
          <li><a href="account?page=logout">Log Out</a></li>
							</ul>
							
					</div>
					</div>
					<!--Menu ends-->
						
				<!--Content begins-->		
				<div id="content">
						<div id="middlePart">
						<div class="h1title">
												<img src="./images/icon_welcome.png" alt="Welcome" title="Welcome" />
												<h2>Masukkan informasi detail obat<td>${error}</td></h2>
                    <div id="moredetails">
                        <br></br>
                        <div id="listing_details"><form name ="form1" method="post" action="obat?page=added" method="POST" align="center" >
                                <table align="center" class="search_form" style="width:100%; border:none;">
                                    <tr>
                                        <td class="label">Nama Obat</td>
                                        <td colspan="3"><label>
                                                <input type="text" name="namaObat" value="${tempAddObat.namaObat}" class="text longfield"/>

                                            </label></td>
                                    </tr>
                                    <tr>
                                        <td class="label" border="1">Tanggal Kadaluarsa Obat</td>
                                        <td colspan="3"><label>
                                                <input id="demo1" type="text" name="tanggal" value="${tempAddObat.tanggal}" /><a href="javascript:NewCal('demo1','ddmmyyyy')"><img src="images/cal.gif" width="16" height="16" border="0" alt="Pick"></a>
                                            </label></td>
                                    </tr>
                                    <tr>
                                        <td class="label">Kuantitas</td>
                                        <td colspan="3"><label>
                                                <input type="text" name="kuantitas" value="${tempAddObat.kuantitas}" class="text longfield" />
                                            </label></td>
                                    </tr>
                                <td class="label">Bentuk Obat</td>
                <td>
                    <select name=bentukObat value="${tempAddObat.bentukObat}">
                        <option value="kapsul" >Kapsul
                        </option>
                        <option value="tablet" >Tablet
                        </option>
                        <option value="sirup">Sirup
                        </option>
                    </select>
                        <br>
                                    <tr>
                                        <td class="label">Harga Obat</td>
                                        <td colspan="3"><label>
                                                <input type="text" name="hargaObat" value="${tempAddObat.hargaObat}" class="text longfield" />
                                            </label></td>
                                    </tr>
                                    <tr>
                                        <td class="label"><br></br>Deskripsi Obat</td>
                                        <td colspan="3"><label>
                                                <textArea rows="5" cols="5" type="text" name="deskripsi" class="text longfield">${tempAddObat.deskripsi}</textArea>
                                            </label></td>
                                    </tr>
                                    <tr>
                                        <td class="label"><p>&nbsp;</p>
                                            <p>&nbsp;</p>
                                            <p>&nbsp;</p>
                                            <p>&nbsp;</p>
                                            <p>&nbsp;</p>
                                            <p>&nbsp;</p></td>
                                        <td>&nbsp;</td>
                                        <td colspan="2" class="label"><label>
                                                <div align="left">
                                                    <input type="image" src="images1/savebtn.jpg" alt="search " name="button2" id="button2" value="Submit" onclick="return form1"/>
                                                    <br />
                                                    <br />
                                                </div>
                                            </label></td>
                                    </tr>
                                </table>
                            </form>
                        </div>
                        <div class="clear">&nbsp;</div>

						<!--Slider begins-->
						
								
						</div>
						<!--Slider ends-->
						
						<!--Middle part begins-->
						
						<!--Middle part ends-->

						<div class="clear"></div>
						
						<!--Bottom part begins-->	
						<div class="bottomPart mt30">
						
								<!--Medical Services begins-->
								
								<!--Medical Services ends-->
								
								<!--Executive Health begins-->
								
								<!--Executive Health ends-->
						
						</div>
                                                </div>
                                            </div>
						<!--Bottom part ends-->
						
						<div class="clear"></div>
						
				</div>
				<!--Content ends-->	
				
				<!--Footer begins-->	
				<div id="footerPart">
						<div class="footerLeft">
								1212 S. Jamie Summer Drive | Amsterdam, AB 22223 | tel 500.222.5000
						</div>
						<div class="footerRight">
								<ul>
										<li><a href="#" title="">About</a></li>
										<li><a href="./contact.html" title="">Contact</a></li>
										<li><a href="#" title="">Sitemap</a></li>
										<li><a href="#" title="">Privacy Policy</a></li>
										<li><a href="#" title="">Directions</a></li>
										<li><a href="#" title="">Insurance</a></li>
										<li><a href="#" title="">Careers</a></li>
								</ul>
						</div>
				</div>
				<!--Footer ends-->	
				
		</div>
		<!--ContentContainer ends-->	

</div>
<!--Container ends-->	

</body>
</html>
